import React, { Component } from 'react'
import { Button } from 'antd';
import { UpCircleOutlined, SearchOutlined } from '@ant-design/icons';
import { Divider } from 'antd';

export default class App extends Component {
    render () {
        return (
            <div>
                <h2>按钮</h2>
                <Button type="primary">Primary Button</Button>
                <Button type="primary" shape="circle" icon={<SearchOutlined />} />
                <h2>图标</h2>
                <UpCircleOutlined style={{ fontSize: '40px' }} />
                <h2>分割线</h2>
                <Divider>Text</Divider>
                <Divider orientation="left">Left Text</Divider>
            </div>
        )
    }
}
